package cn.livingCloud.dto;

import cn.livingCloud.entity.core.EmployeeAccount;

import java.util.List;

/**
 * Created by 唐旭 on 2016/5/30.
 */
public class EmployeeAccountListDto extends Page<EmployeeAccountDto> {
    private String username;
    private String employeeUuid;
    private String deptUuid;

    public EmployeeAccountListDto() {
    }

    @Override
    public void addAllList(List accounts) {
        for (Object account : accounts) {
            list.add(new EmployeeAccountDto((EmployeeAccount) account));
        }
    }

    public String getEmployeeUuid() {
        return employeeUuid;
    }

    public EmployeeAccountListDto setEmployeeUuid(String employeeUuid) {
        this.employeeUuid = employeeUuid;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public EmployeeAccountListDto setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getDeptUuid() {
        return deptUuid;
    }

    public EmployeeAccountListDto setDeptUuid(String deptUuid) {
        this.deptUuid = deptUuid;
        return this;
    }
}
